PostgreSQL 数据类型 tsvector

tsvector 是 PostgreSQL 的数据类型,它的值是一个可排序的可区分 词位 的列表,词位 是被 正规化 后的词根。
PostgreSQL提供了函数 to_tsvector 将一个文档预处理成 tsvector 数据类型。